package com.xgc.book.bookserver.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xgc.book.bookserver.bean.BookLikeBean;
import com.xgc.book.bookserver.util.ResultJson;

/**
 * <p>
 * 图书收藏表 服务类
 * </p>
 *
 * @author wrz
 * @since 2023-11-20
 */
public interface BookLikeService extends IService<BookLikeBean> {
    boolean isLike(int bookId, int vipId);

    void updateLike(BookLikeBean bookLikeBean);

    ResultJson getPage(int page, int limit, BookLikeBean bookLikeBean);
}
